const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({
	transpileDependencies: true,
	devServer: {
		host: "localhost",
		port: 8081,
		https: false,
		open: true,
		proxy: {
			"/api": {
				target: "http://localhost:5001/api/",
				changeOrigin: true,
				ws: true,
				secure: false,
				hot: true,
				pathRewrite: {
					"^/api": "",
				},
			},
		},
	},
});
